package Leetcode;

/**
 * @ Author     ：侯耀祖
 * @ Description：
 */
public class ListNode {
    int val;
    ListNode next;
    ListNode pre;
    ListNode(int x) {
          val = x;
          next = null;
          pre = null;
    }
    ListNode(int x, ListNode node) {
        val = x;
        this.next = node;
    }
    ListNode(int x, ListNode pre, ListNode next) {
        val = x;
        this.pre = pre;
        this.next = next;
    }
}
